package com.hlkj.pay.vo.order.resp.acct;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.io.Serializable;
import java.math.BigDecimal;

import com.hlkj.pay.enums.PayOrderEnums;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author HlpayTeam
 * @date 2024/10/10 13:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayOrderFundResp implements Serializable {
	private static final long serialVersionUID = -8907922247175135025L;
	/**
	 * 分账账号
	 */
	@Schema(description = "分账账号")
	private String accountNo;
	/**
	 * 分账金额
	 */
	@Schema(description = "分账金额")
	private BigDecimal amount;
	/**
	 * 分账说明
	 */
	@Schema(description = "分账说明")
	private String description;
	/**
	 * 分账状态
	 * @see  PayOrderEnums.PAY_ORDER_FUND_STATUS
	 */
	@Schema(description = "分账状态，1=初始化，2=待分账，3=分账中，4=已分账，5=分账失败，6=已完结")
	private Integer fundStatus;
	/**
	 * 分账失败原因
	 */
	@Schema(description = "分账失败原因")
	private String failReason;
	/**
	 * 平台分账单号
	 */
	@Schema(description = "平台分账单号")
	private String outOrderNo;
	/**
	 * 机构分账单号
	 */
	@Schema(description = "机构分账单号")
	private String orderNo;
	/**
	 * 分账批次号
	 */
	@Schema(description = "分账批次号")
	private String batchNo;
	/**
	 * 分账批次号
	 */
	@Schema(description = "子分账批次号")
	private String batchNoDetail;
	/**
	 * 分账全称
	 */
	@Schema(description = "分账全称")
	private String name;
	/**
	 * 分账明细单号
	 */
	@Schema(description = "分账明细单号")
	private String detailId;
	/**
	 * 接收方类型
	 */
	@Schema(description = "接收方类型")
	private String type;
}
